<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends InitializeController{
	public function index(){
		session_start();

		if (I('get.validation') == 0) {
			unset($_SESSION['validation']);
		}
		if (isset($_SESSION['validation'])) {
			$this->redirect('Auth/index');
		}

		$this->display();
	}

	public function noPermissions(){
		$this->display();
	}

}

 ?>
